﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Home-TinTuc.master" AutoEventWireup="true"
    CodeFile="Chi-Tiet-Tin-Tuc.aspx.cs" Inherits="Chi_Tiet_Tin_Tuc" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Headchude" runat="Server">
    <title>
        <asp:Literal ID="litTieuDe" runat="server"></asp:Literal>
        -
        <%= Common.tieude %></title>
    <asp:Literal ID="litDienGiai" runat="server"></asp:Literal>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Contentchude" runat="Server">
    <div class="linkchuyenmucdetail">
        <asp:Image ID="imagearrow" runat="server" ImageUrl="~/Images/dotnetgroup/gohome.png"
            Width="16px" EnableViewState="false" />
        <asp:HyperLink ID="linkHome" runat="server" EnableViewState="false" NavigateUrl="~/"
            CssClass="linkhomedetail">Trang Chủ</asp:HyperLink>
        »
        <asp:HyperLink ID="linkTinTuc" runat="server" EnableViewState="false" NavigateUrl="~/Tin-Tuc.aspx"
            CssClass="linkhomedetail">Tin Tức</asp:HyperLink></div>
    <div class="borderphai" style="height: auto !important">
        <div class="tieude-tintuc">
            <div style="float: left">
                <h2>
                    <asp:Label runat="server" ID="lblTieude"></asp:Label></h2>
            </div>
            <div style="float: right; padding: 10px 10px 0px">
                <a style='padding: 0 5px;' target="_blank" href='<%= "http://www.facebook.com/share.php?u=" + Common.sPathUpLienKet + HttpContext.Current.Request.Url.AbsolutePath.ToString()%>'
                    title='Chia sẻ lên Facebook'>
                    <img src='<%= ResolveUrl("images/dotnetgroup/facebook.png") %>' alt="Mạng xã hội"
                        width="16px" />
                </a>
            </div>
        </div>
        <div class="lx-nd-tintuc">
            Lượt xem: <b>
                <asp:Label runat="server" ID="lblLuotxem"></asp:Label></b> Được đăng bởi: <b>
                    <asp:Label runat="server" ID="lblNguoidang"></asp:Label></b> Vào lúc: <b>
                        <asp:Label runat="server" ID="lblNgaydang"></asp:Label></b>
        </div>
        <div class="noidung-tintuc">
            <asp:Label runat="server" ID="lblNoidung"></asp:Label>
        </div>
        <div class="nguon-tintuc">
            <asp:Label runat="server" ID="lblNguon"></asp:Label>
        </div>
        <div class="tag-tintuc">
            <asp:Label runat="server" ID="lblTags"></asp:Label>
        </div>
        <div class="fb-comments" data-href='<%= Common.sPathUpLienKet+ HttpContext.Current.Request.Url.AbsolutePath.ToString()%>'
            data-width="635" data-num-posts="10">
        </div>
        <div style="background-color: rgba(255, 0, 0, 0.07); border-radius: 5px; line-height:12px;padding:5px 5px 5px 5px;">
            <asp:DataList runat="server" ID="dtlDsTinTuc" RepeatDirection="Vertical" RepeatLayout="Flow">
                <ItemTemplate>
                    <h2 style="font-style:italic;font-family:Tahoma;font-weight:normal;font-size:18pt;">
                        <img src="/TKWDOTNET/images/dotnetgroup/icon_xanh_16.png" align="left" style="margin-right: 5px;">
                        <asp:HyperLink runat="server" ID="linkTieude" NavigateUrl='<%# "~/TinTuc/"+ GetTieuDe(Eval("TieuDe")) + "_"  + Eval("Id") + ".aspx" %>'
                            EnableViewState="false" CssClass="tintuclink">
                            <%# Eval("TieuDe") %> </asp:HyperLink>
                    </h2>
                </ItemTemplate>
            </asp:DataList>
        </div>
    </div>
</asp:Content>
